<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\modules\basic\models\GuaranteeCompanyDotSite */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="guarantee-company-dot-site-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'guarantee_company_id')->widget(\kartik\widgets\Select2::className(), ['data'=>\yii\helpers\ArrayHelper::map(\common\models\GuaranteeCompany::find()->asArray()->all(), 'id', 'name')])->label('担保公司') ?>

    <?= $form->field($model, 'sign_code')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'bank_zoneno')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'contact_mobile')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'link_bairong_component_conf')->textInput(['maxlength' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
